<div class="generalWrap">
	<h1 class="headingTitle"><?php echo $heading_title ?></h1>
	<p class="button"><a class="aButton" href="<?php echo site_url('phonebook/index/'.$this->uri->segment(4)) ?>">Back</a></p>

	<div class="contentWrap">
		<?php echo form_open_multipart('phonebook/add_photo/'.$this->uri->segment(3).'/'.$this->uri->segment(4)) ?>
		<?php echo form_hidden('cmd', 'upload') ?>
		<table>
			<tr>
				<td width="150" valign="top"><?php echo form_label('File:', 'file') ?></td>
				<td>
					<?php echo form_upload(array('name' => 'file', 'id' => 'file', 'size' => '70', 'value' => set_value('file'))) ?>
					<?php echo ($errors = validation_errors('<span class="formError">', '</span>')) ? $errors : '' ?>
				</td>
			</tr>
			<tr>
				<td>&nbsp;</td>
				<td><?php echo form_submit('btnSave', 'Save') ?></td>
			</tr>
		</table>
		<?php echo form_close() ?>
	</div>
</div>